package org.kl.bf.entity.basic;

import java.util.List;

import javax.persistence.Entity;
import javax.persistence.OneToMany;
import javax.persistence.Table;

import org.kl.bf.entity.AuditableEntity;

@Entity
@Table(name = "basic_join_file")//附件对应表
public class BasicJoinFile extends AuditableEntity {
	private static final long serialVersionUID = -3716596160163546744L;
	private String businessType;// 业务类型
	private Integer inUse = 0;// 是否有用
	private List<BasicFile> basicFileList;
	public String getBusinessType() {
		return businessType;
	}

	public void setBusinessType(String businessType) {
		this.businessType = businessType;
	}

	public Integer getInUse() {
		return inUse;
	}

	public void setInUse(Integer inUse) {
		this.inUse = inUse;
	}

	@OneToMany(mappedBy = "joinFileId")
	public List<BasicFile> getBasicFileList() {
		return basicFileList;
	}

	public void setBasicFileList(List<BasicFile> basicFileList) {
		this.basicFileList = basicFileList;
	}

}